#ifndef __W25Q64_H
#define __W25Q64_H

#include "stm32f10x.h"                  // Device header


void W25_BACK(void);
void W25Q64_RID(uint8_t *MID,uint16_t *DID);//厂商ID和设备ID
void W25Q64_init(void);




void W25Q64_readdata(uint32_t add,uint8_t *dataarr,uint32_t count );
void W25Q64_clearerase(uint32_t add);
void W25Q64_page(uint32_t add,uint8_t *dataarr,uint16_t count);



void neicun_write(uint32_t add,uint16_t count, uint8_t  cc[] );

#endif


